package dp.decorator;

import dp.decorator.starbuzz.Beverage;
import dp.decorator.starbuzz.Espresso;
import dp.decorator.starbuzz.condiment.Mocha;
import dp.decorator.starbuzz.condiment.Whip;

public class App {

	public static void main(String[] args) {
		Beverage beverage = new Espresso();
		beverage = new Mocha(beverage);
		beverage = new Mocha(beverage);
		beverage = new Whip(beverage);
		
		System.out.println(beverage.getDescription() + " : $" + beverage.cost());
	}

}